home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60rt.lha / Vim / vim60 / macros / less.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2001-05-04  |  213 b   |  10 lines

  1. #!/bin/sh
  2. # Shell script to start Vim with less.vim.
  3. # Read stdin if no arguments were given.
  4.  
  5. if test $# = 0; then
  6.   vim -c 'so $VIMRUNTIME/macros/less.vim' -
  7. else
  8.   vim -c 'so $VIMRUNTIME/macros/less.vim' $*
  9. fi
  10.